
//导航条方法
  	function daoHang(objid){
		var daohangBtn=document.getElementById(objid);
		$("#"+objid).css("background-image","none");
		$("#"+objid).css("background-image","-webkit-gradient(linear,0% 0%, 0% 100%, from(#5391F5), to(#1A51DD), color-stop(0.5,#2D6AE8))");
		if(objid=="chenggonganlibtn"){
			$("#feituojianjiecaidan").removeClass().addClass("poptip0");
			$("#chenggonganlicaidan").removeClass().addClass("poptip1");	
		   }
		if(objid=="feituojianjiebtn"){
			$("#chenggonganlicaidan").removeClass().addClass("poptip0");
			$("#feituojianjiecaidan").removeClass().addClass("poptip1");	
		   }
		if(objid=="fanhuishouyebtn"){
			$("#chenggonganlicaidan").removeClass().addClass("poptip0");
			$("#feituojianjiecaidan").removeClass().addClass("poptip0");	
		   }
		daohangBtn.ontouchend=function(){
			$("#"+objid).css("background-image","none");
			 if(objid!="feituojianjiebtn" && objid!="chenggonganlibtn" && objid!="fanhuishouyebtn"){
				$("#"+objid).css("background-color","#e6e6e6"); 
			 }else{
				$("#"+objid).css("background-image","-webkit-gradient(linear,0% 0%, 0% 100%, from(#E7E7E7), to(#BBBBBB), color-stop(0.5,#d2d2d2))") 
			 }
		 };	
	}

//屏幕滚动方法	
	$(window).scroll(function(){
		$("#chenggonganlicaidan").removeClass().addClass("poptip0");
		$("#feituojianjiecaidan").removeClass().addClass("poptip0");
	 });

//清除微信下面的工具栏
document.addEventListener('WeixinJSBridgeReady', function onBridgeReady(){WeixinJSBridge.call('hideToolbar');});

//